import request from '@/utils/request'

// 查询城市更新列表
export function listCity_update(query) {
  return request({
    url: '/data_upload/city_update/list',
    method: 'get',
    params: query
  })
}

// 查询一次提交的城市更新详细
export function getCity_update(productId) {
  return request({
    url: '/data_upload/city_update/' + productId,
    method: 'get'
  })
}




// 新增城市更新
export function addCity_update(data) {
  return request({
    url: '/data_upload/city_update',
    method: 'post',
    data: data
  })
}

// 修改城市更新
export function updateCity_update(data) {
  return request({
    url: '/data_upload/city_update',
    method: 'put',
    data: data
  })
}

// 删除城市更新
export function delCity_update(productId) {
  return request({
    url: '/data_upload/city_update/' + productId,
    method: 'delete'
  })
}
